<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>


<!DOCTYPE html>
<html lang="zh-CN" manifest="/misc/wei_cache_new.manifest">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>我的物品</title>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/user.css" />
</head>
<body>
<div class="body">
  <div class="backg" style="min-height: 470px;">

 <c:if test="${ myGoodsList  != null }">
 <c:forEach items="${ myGoodsList }" var="prize" varStatus="i">
 <section class="w-goods">

    <div class="w-gooa">
        <ul>
          <li class="title">
           <a href="${ctxFront}/member/qrcode?uid=${uid}&wechatId=${wechatId}&style=${style}&codeID=${prize.qrcode_id}&topage=${topage}&name=${prize.name}&userId=${prize.user_id}">
            <span class="item-name">
	            ${fn:substring(prize.name,0,6)}
				<c:if test="${fn:length(prize.name)>6 }">...</c:if>
			</span>
			<span style="color: #999999;font-size:12px;">
								<c:if test="${prize.lottery == 'lottery'}">
								(在线抽奖)
								
								</c:if>
								
								<c:if test="${prize.lottery == 'exchange'}">
								(积分兑换)
								
								</c:if>
								
								<c:if test="${prize.lottery == 'coupon'}">
								(优惠券)
								
								</c:if>
								
								<c:if test="${prize.lottery == 'seckill'}">
								(在线秒杀)
								
								</c:if>
				</span>
				</a>
          </li>
          <li class="others">
          	<c:if test="${prize.end_time  le  0  }">
								 已过期
			</c:if>
          <c:if test="${prize.end_time gt  0  }">
								  <ins>剩余天数：<fmt:formatNumber type="number" value="${prize.end_time }" maxFractionDigits="0"/>天</ins>
			</c:if>
			
			
            <input class="message-btn211" value="放弃" type="button" onclick="location.href='${ctxFront}/member/deleteMyGoods?uid=${uid}&wechatId=${wechatId}&style=${style}&delID=${prize.id}&type=${prize.lottery}'" >
          </li>
        </ul>
    </div>
    
  </section>
  </c:forEach>
   </c:if>
   
   <c:if test="${ myGoodsList  == null }">
    <section class="w-goods" style="border-bottom:0px;">
    <div class="w-gooa" style="color:red; text-align: center;margin-to:30px;">
   		暂无物品记录
    </div>
  </section>
   </c:if>
</div>
    <c:if test="${uid ne '34' }">
		 <div class="footer">
        <p><!-- 版权所有&copy;&nbsp;&nbsp;  --><br>
		技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a><!-- &nbsp;&nbsp;	
		<a href="tel:03107056607">0310-7056607</a> -->
      </div>
	</c:if>
</div>
</body>
</html>
